POST api/Promotion/MarkPromotionAsUsed?giftCodes[0]={giftCodes[0]}&giftCodes[1]={giftCodes[1]}&order={order}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
giftCodes

Collection of string

Required

order

globally unique identifier

None.

Body Parameters

None.

Response Information

Resource Description

GiftResponse
NameDescriptionTypeAdditional information
ResponseCode

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": "sample string 1"
}

application/xml, text/xml

Sample:
<GiftResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NASDMS.KCoffeeMobile.Api.Models.PromotionGift">
  <ResponseCode>sample string 1</ResponseCode>
</GiftResponse>